package org.dong.base.thread.deadlock;

public class Thread2 extends Thread {
    private Count count;

    public Thread2(Count count) {
        this.count = count;
    }

    @Override
    public void run() {
        super.run();
        count.lockMethod();
    }
}
